<div class="ui basic bottom attached segment">
<#macro paginate pageObj>
    <#if !pageObj.isFirstPage() >
        <a href="?page=${pageObj.pageNumber - 1}" class="ui button">上一页</a>
    </#if>
${pageObj.pageNumber}/${pageObj.totalPage}
    <#if !pageObj.isLastPage()>
        <a href="?page=${pageObj.pageNumber + 1}" class="ui button">下一页</a>
    </#if>
</#macro>
</div>